<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <form th:action="@{/doUpdate}" method="post">
        <input type="hidden" name="id" th:value="${goods.id}"><br>
        name:<input type="text" name="name" th:value="${goods.name}"><br>
        remark:<input type="text" name="remark" th:value="${goods.remark}"><br>
        <input type="submit" value="提交">
    </form>
</body>
</html>